package top.yangyitao.dao;

import java.io.Serializable;
import java.util.List;

import top.yangyitao.model.User;

public interface UserDao {
	public User findUserByUserName(String userName);
	public User findUserByEmail(String email);
	public void deleteUserByUserName(String userName);
	public void updateUserOfPassword(User user);
	public Serializable insertUser(User user);
	public List<User> getAllUser();
	void activeUser(String userName);
}
